package com.coocaa.ops.admin.v1.auth.sys.mapper;

import com.coocaa.ops.common.core.base.mapper.IBaseMapper;
import com.coocaa.ops.common.core.biz.auth.entity.SysUserEntity;

import java.util.List;

/**
 * @author bijiahao
 * @date : 2019/3/11.
 * @description
 */
public interface ISysUserMapper extends IBaseMapper<SysUserEntity> {
    /**
     * 获取用户对应的角色ID
     *
     * @param userId
     * @return
     */
    List<Integer> listRoleIdByUserId(Integer userId);
}
